package com.quwan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@TableName(value = "t_member")
public class TMember {

    @ApiModelProperty("用户id")
    @TableField(value = "id")
    private Long id;

    @TableId(value = "auto_id", type = IdType.AUTO)
    private Long autoId;

    @ApiModelProperty("用户昵称")
    @TableField(value = "nick_name")
    private String nickName;

    @ApiModelProperty("性别 0girl 1 boy")
    @TableField(value = "gender")
    private Integer gender;

    @ApiModelProperty("身份证")
    @TableField(value = "`identity`")
    private String identity;

    @ApiModelProperty("登录密码")
    @TableField(value = "`password`")
    private String password;

    @ApiModelProperty("支付密码")
    @TableField(value = "pay_pwd")
    private String payPwd;

    @ApiModelProperty("手机")
    @TableField(value = "mobile")
    private String mobile;

    @ApiModelProperty("平台余额")
    @TableField(value = "balance")
    private BigDecimal balance;

    @ApiModelProperty("消费总额")
    @TableField(value = "consume_money")
    private BigDecimal consumeMoney;

    @ApiModelProperty("提现总额")
    @TableField(value = "operate_money")
    private BigDecimal operateMoney;

    @ApiModelProperty("充值总额")
    @TableField(value = "recharge_money")
    private BigDecimal rechargeMoney;

    @ApiModelProperty("收入总额")
    @TableField(value = "income_money")
    private BigDecimal incomeMoney;

    @ApiModelProperty("推广总额")
    @TableField(value = "popular_money")
    private BigDecimal popularMoney;

    @ApiModelProperty("用户源 0手机登录")
    @TableField(value = "`source`")
    private Integer source;

    @ApiModelProperty("会员等级")
    @TableField(value = "service_level")
    private Integer serviceLevel;

    @ApiModelProperty(value = "微信openId")
    @TableField(value = "wx_open_id")
    private String wxOpenId;

    @ApiModelProperty(value = "支付宝openId")
    @TableField(value = "zfb_open_id")
    private String zfbOpenId;

    @ApiModelProperty(value = "头像图片地址")
    @TableField(value = "img_url")
    private String imgUrl;

    @ApiModelProperty(value = "用户数据版本")
    @TableField(value = "version")
    private Long version;

    @ApiModelProperty(value = "最后访问时间")
    @TableField(value = "last_visit_time")
    private LocalDateTime lastVisitTime;

    @TableField(value = "add_time")
    private LocalDateTime addTime;

    @TableField(value = "upd_time")
    private LocalDateTime updTime;

    @ApiModelProperty(value = "上级会员")
    @TableField(value = "parent_id")
    private Long parentId;

    @TableField(value = "birthday")
    private String birthday;

    @ApiModelProperty(value = "地区")
    @TableField(value = "area")
    private String area;

    @ApiModelProperty(value = "个性签名")
    @TableField(value = "sign")
    private String sign;

    @ApiModelProperty(value = "账户状态 0禁用  1正常")
    @TableField(value = "status")
    private Integer status;

    @ApiModelProperty(value = "会员真实姓名")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "职业")
    @TableField(value = "job")
    private String job;

    @ApiModelProperty(value = "身高")
    @TableField(value = "height")
    private Integer  height;

    @ApiModelProperty(value = "年龄")
    @TableField(value = "age")
    private Integer  age;

    @ApiModelProperty(value = "安全分数")
    @TableField(value = "security_score")
    private Integer  securityScore;

    @ApiModelProperty(value = "iosToken")
    @TableField(value = "ios_token")
    private String iosToken;

    @ApiModelProperty(value = "android token")
    @TableField(value = "android_token")
    private String androidToken;

    @ApiModelProperty(value = "活动代币")
    @TableField(value = "dd")
    private Integer dd;

    @ApiModelProperty(value = "查看发布订单 0关闭 1正常")
    @TableField(value = "enable_order")
    private Integer enableOrder;

    @ApiModelProperty(value = "查看动态 0关闭1正常")
    @TableField(value = "enable_dynamic")
    private Integer enableDynamic;

    @ApiModelProperty(value = "查看粉丝 0关闭1正常")
    @TableField(value = "enable_follower")
    private Integer enableFollower;

    @ApiModelProperty(value = "备注")
    @TableField(value = "remarks")
    private String remarks;

    @ApiModelProperty(value = "订单消息通知 0关闭 1正常")
    @TableField(value = "msg_order")
    private Integer msgOrder;

    @ApiModelProperty(value = "聊天消息通知 0关闭1正常")
    @TableField(value = "msg_chat")
    private Integer msgChat;

    @ApiModelProperty(value = "动态消息通知 0关闭1正常")
    @TableField(value = "msg_dynamic")
    private Integer msgDynamic;

    @ApiModelProperty(value = "人脸图片")
    @TableField(value = "face_url")
    private String faceUrl;

    @ApiModelProperty(value = "-1审核不通过 0未认证 1审核中 2已认证")
    @TableField(value = "face_status")
    private Integer faceStatus;

    @ApiModelProperty(value = "身份证图片 2pc")
    @TableField(value = "id_url")
    private String idUrl;

    @ApiModelProperty(value = "-1审核不通过 0未认证 1审核中 2已认证")
    @TableField(value = "id_status")
    private Integer idStatus;

}